#include <QtGui/QApplication>
#include "QcalculatorUI.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QCalculatorUI* cal = QCalculatorUI::NewInstans();
    int ret = -1;
    if(cal != NULL){
        cal->show();
        ret = a.exec();
        delete cal;
    }

    return ret;
}
